package fr.afcepf.atod12.projet1.dao.interfaces;

import java.util.Date;
import java.util.List;

import fr.afcepf.atod12.projet1.entities.Medecin;
import fr.afcepf.atod12.projet1.entities.Patient;

public interface IDaoPersonne {

	public List<Patient> getAllPatient();
	public List<Medecin> getAllMedecin();
	public List<Patient> getPatientByName(String name);
	public List<Medecin> getMedecinByName(String name);
	public Patient getPatientById(Integer idPatient);
	public Medecin getMedecinById(Integer idMedecin);
	public List<Patient> getPatientByEvenement(Date date);
	public boolean createPatient(Patient patient);
	public boolean deletePatient(Patient patient);
	public boolean updatePatient(Patient patient);
	public boolean createMedecin(Medecin medecin);
	public boolean deleteMedecin(Medecin medecin);
	public boolean updateMedecin(Medecin medecin);
	
}
